package com.yangzcp.userpojo;

import javax.persistence.ManyToOne;
import org.hibernate.annotations.FetchMode;
import javax.persistence.Column;
import java.math.*;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import javax.persistence.JoinTable;
import java.util.*;
import javax.persistence.OneToMany;
import com.yangzcp.pojo.*;
import javax.persistence.Entity;
import javax.persistence.UniqueConstraint;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import org.hibernate.annotations.Fetch;
import javax.persistence.ManyToMany;

@ApiModel("图集图片")
@Entity
@Table(name = "b_saiimg_img")
public class B_saiimg_img extends SuperData {
	@ManyToOne(targetEntity = B_saiimg.class)
	private B_saiimg ref_tuji;

	public void setRef_tuji(B_saiimg ref_tuji) {
		this.ref_tuji = ref_tuji;
	}

	public B_saiimg getRef_tuji() {
		return ref_tuji;
	}

	@ApiModelProperty("标题")
	private String title;

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	@ApiModelProperty("创建时间")
	private Long create_time = new Date().getTime();

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}

	public Long getCreate_time() {
		return create_time;
	}

	@ApiModelProperty("图片")
	private String img;

	public void setImg(String img) {
		this.img = img;
	}

	public String getImg() {
		return img;
	}
}